﻿using System;
using Noea.TogSim.Model.Interfaces;

namespace Noea.TogSim.Model.Signal
{
    public class OneViewSignal : SimpleSignal
    {
        ITrack _trackDirection;
        public OneViewSignal(int Id, ISignalState state, ITrack trackDirection)
            : base(Id, state)
        {
            TrackDirection = trackDirection;
        }

        public OneViewSignal(int Id, ISignalState state, ITrack trackDirection, ISignal asignal)
            : base(Id, state, asignal)
        {
            TrackDirection = trackDirection;
        }

        public ITrack TrackDirection
        {
            get { return _trackDirection; }
            set { _trackDirection = value; }
        }

    }
}
